home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-12-19 | 1001 b | 27 lines | [TEXT/KAHL] |
- // File "contexts.h" -
- // This header file is Copyright Matt Slot & Slot-Machines Ltd., © 1994
-
- #ifndef ____CONTEXTS_HEADER_____
- #define ____CONTEXTS_HEADER_____
-
- // * **************************************************************************** * //
- // * **************************************************************************** * //
-
- typedef struct {
- long a5; // Need to access our globals
- GrafPtr savePort; // Save the port across the JGNEFilter
- THz heapZone; // So our memory calls use our! heap zone
- short curResFile; // Save the current resource file (0 means open the clone)
- } Context, *ContextPtr;
-
- // * **************************************************************************** * //
- // * **************************************************************************** * //
- // Function Prototypes
-
- short CloneResFile(void);
- ContextPtr SaveContext(short homeContext);
- void RestoreContext(ContextPtr context);
- void DisposeContext(ContextPtr context);
-
- #endif ____CONTEXTS_HEADER_____
-